package cn.tedu.ceb.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId(value="uid",type = IdType.AUTO)
    @ApiModelProperty(value = "用户id")
    private Integer uid;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "激活码")
    private String activeCode;
    @ApiModelProperty(value = "激活状态")
    private String flag;
    @ApiModelProperty(value = "角色id")
    private Integer roleId;
}
